package com.gopay.common.cps.dao.wallet.bouns;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.dps.WaBounsDetailOrder;

import java.util.List;

/**
 * Created by 
 * @author boai 
 * on 2017/1/5.
 */
public interface WaBounsDetailOrderDao extends BaseDAO<WaBounsDetailOrder, Integer> {
    WaBounsDetailOrder findBestLuckByBounsMainOrderId(String mainOrderId);

    WaBounsDetailOrder findbyGopayOrderId(String gopayOrderId);

    public List<WaBounsDetailOrder> findbyBounsMainOrderId(Integer bounsMainOrderId);
}
